package com.yq.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @Author: yangQ
 * @Date: 2020/11/24 18:54
 * @Description:
 */
@ApiModel(value="com-yq-dto-DictTypeDto")
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class DictTypeDto extends BaseDto{
    /**
     * 字典主键
     */
    @ApiModelProperty(value="字典主键")
    private Long dictId;

    /**
     * 字典名称
     */
    @ApiModelProperty(value="字典名称")
    @NotBlank(message = "字典名称不能为空")
    private String dictName;

    /**
     * 字典类型
     */
    @ApiModelProperty(value="字典类型")
    @NotBlank(message = "字典类型不能为空")
    private String dictType;
    /**
     * 字典状态
     */
    @ApiModelProperty(value="字典状态")
    @NotBlank(message = "字典状态不能为空")
    private String status;
    /**
     * 备注
     */
    @ApiModelProperty(value="备注")
    private String remark;
}
